package com.aaron.entity;

import lombok.*;

// 该类弃用。该类被移到了main模块的config包下，并改名为RpcServiceConfig
@AllArgsConstructor
@NoArgsConstructor
@Getter
@Setter
@Builder
@ToString
public class RpcServiceProperties {
    // 已经弃用
    private String version;
    private String group;
    private String serviceName;

    public String toRpcServiceName() {
        return this.getServiceName() + this.getGroup() + this.getVersion();
    }
}
